
local achieved = achievements.GetValue( "Disestablishmentarian", "total", 0 )
local function HUDWeaponPickedUp( wep )
	if ( achieved == 1 || LocalPlayer():IsAdmin() ) then return end
	if ( !wep.Spawnable && wep.AdminSpawnable ) then
		achievements.Update( "Disestablishmentarian", 1, "Complete" )
		
		achievements.SetValue( "Disestablishmentarian", "total", 1 )
		achieved = 1
	end
end
hook.Add( "HUDWeaponPickedUp", "Achievements.HUDWeaponPickedUp", HUDWeaponPickedUp )

local s = " "
if ( achieved == 1 ) then s = "Complete" end
achievements.Register( "Disestablishmentarian", "Possess an admin weapon without being an admin.", "achievements/disestablish", achieved, s )